/******************************************************************************
 * Filename: Instrument.h
 *
 * Copyright 2012, Research In Motion Ltd
 *
 * Author: Gang Li
 *
 * Created: Jul 7, 2012
 *
 * Description:
 *
 *****************************************************************************/

#ifndef INSTRUMENT_H_
#define INSTRUMENT_H_

#include <string.h>

class Instrument
{
protected:
    int category;

public:
    Instrument();
    virtual ~Instrument();

    virtual void play() const;

    void * operator new(std::size_t sz);
    void operator delete(void * p);

    void plug();
};

#endif /* INSTRUMENT_H_ */
